Integrand size = 20, antiderivative size = 121 \[ \int \left (d+e x^2\right )^3 \left (a+b \log \left (c x^n\right )\right ) \, dx=-b d^3 n x-\frac {1}{3} b d^2 e n x^3-\frac {3}{25} b d e^2 n x^5-\frac {1}{49} b e^3 n x^7+d^3 x \left (a+b \log \left (c x^n\right )\right )+d^2 e x^3 \left (a+b \log \left (c x^n\right )\right )+\frac {3}{5} d e^2 x^5 \left (a+b \log \left (c x^n\right )\right )+\frac {1}{7} e^3 x^7 \left (a+b \log \left (c x^n\right )\right ) \]
-b*d^3*n*x-1/3*b*d^2*e*n*x^3-3/25*b*d*e^2*n*x^5-1/49*b*e^3*n*x^7+d^3*x*(a+ b*ln(c*x^n))+d^2*e*x^3*(a+b*ln(c*x^n))+3/5*d*e^2*x^5*(a+b*ln(c*x^n))+1/7*e ^3*x^7*(a+b*ln(c*x^n))
Time = 0.04 (sec) , antiderivative size = 124, normalized size of antiderivative = 1.02 \[ \int \left (d+e x^2\right )^3 \left (a+b \log \left (c x^n\right )\right ) \, dx=a d^3 x-b d^3 n x-\frac {1}{3} b d^2 e n x^3-\frac {3}{25} b d e^2 n x^5-\frac {1}{49} b e^3 n x^7+b d^3 x \log \left (c x^n\right )+d^2 e x^3 \left (a+b \log \left (c x^n\right )\right )+\frac {3}{5} d e^2 x^5 \left (a+b \log \left (c x^n\right )\right )+\frac {1}{7} e^3 x^7 \left (a+b \log \left (c x^n\right )\right ) \]
a*d^3*x - b*d^3*n*x - (b*d^2*e*n*x^3)/3 - (3*b*d*e^2*n*x^5)/25 - (b*e^3*n* x^7)/49 + b*d^3*x*Log[c*x^n] + d^2*e*x^3*(a + b*Log[c*x^n]) + (3*d*e^2*x^5 *(a + b*Log[c*x^n]))/5 + (e^3*x^7*(a + b*Log[c*x^n]))/7
Time = 0.28 (sec) , antiderivative size = 117, normalized size of antiderivative = 0.97, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {2750, 2009}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \left (d+e x^2\right )^3 \left (a+b \log \left (c x^n\right )\right ) \, dx\) |
\(\Big \downarrow \) 2750 |
\(\displaystyle -b n \int \left (\frac {e^3 x^6}{7}+\frac {3}{5} d e^2 x^4+d^2 e x^2+d^3\right )dx+d^3 x \left (a+b \log \left (c x^n\right )\right )+d^2 e x^3 \left (a+b \log \left (c x^n\right )\right )+\frac {3}{5} d e^2 x^5 \left (a+b \log \left (c x^n\right )\right )+\frac {1}{7} e^3 x^7 \left (a+b \log \left (c x^n\right )\right )\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle d^3 x \left (a+b \log \left (c x^n\right )\right )+d^2 e x^3 \left (a+b \log \left (c x^n\right )\right )+\frac {3}{5} d e^2 x^5 \left (a+b \log \left (c x^n\right )\right )+\frac {1}{7} e^3 x^7 \left (a+b \log \left (c x^n\right )\right )-b n \left (d^3 x+\frac {1}{3} d^2 e x^3+\frac {3}{25} d e^2 x^5+\frac {e^3 x^7}{49}\right )\) |
-(b*n*(d^3*x + (d^2*e*x^3)/3 + (3*d*e^2*x^5)/25 + (e^3*x^7)/49)) + d^3*x*( a + b*Log[c*x^n]) + d^2*e*x^3*(a + b*Log[c*x^n]) + (3*d*e^2*x^5*(a + b*Log [c*x^n]))/5 + (e^3*x^7*(a + b*Log[c*x^n]))/7
3.3.4.3.1 Defintions of rubi rules used
Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*((d_) + (e_.)*(x_)^(r_.))^(q_.), x_Symbol] :> With[{u = IntHide[(d + e*x^r)^q, x]}, Simp[(a + b*Log[c*x^n]) u, x] - Simp[b*n Int[SimplifyIntegrand[u/x, x], x], x]] /; FreeQ[{a, b, c, d, e, n, r}, x] && IGtQ[q, 0]
Time = 0.63 (sec) , antiderivative size = 134, normalized size of antiderivative = 1.11
method | result | size |
parallelrisch | \(\frac {x^{7} \ln \left (c \,x^{n}\right ) b \,e^{3}}{7}-\frac {b \,e^{3} n \,x^{7}}{49}+\frac {a \,e^{3} x^{7}}{7}+\frac {3 x^{5} b \ln \left (c \,x^{n}\right ) d \,e^{2}}{5}-\frac {3 b d \,e^{2} n \,x^{5}}{25}+\frac {3 x^{5} a d \,e^{2}}{5}+x^{3} b \ln \left (c \,x^{n}\right ) d^{2} e -\frac {b \,d^{2} e n \,x^{3}}{3}+x^{3} a \,d^{2} e +x b \ln \left (c \,x^{n}\right ) d^{3}-b \,d^{3} n x +a \,d^{3} x\) | \(134\) |
risch | \(\frac {a \,e^{3} x^{7}}{7}+\ln \left (c \right ) b \,d^{2} e \,x^{3}-\frac {i \pi b \,d^{2} e \,x^{3} \operatorname {csgn}\left (i c \right ) \operatorname {csgn}\left (i x^{n}\right ) \operatorname {csgn}\left (i c \,x^{n}\right )}{2}+\frac {i \pi b \,e^{3} x^{7} \operatorname {csgn}\left (i c \right ) \operatorname {csgn}\left (i c \,x^{n}\right )^{2}}{14}+\frac {i \pi b \,e^{3} x^{7} \operatorname {csgn}\left (i x^{n}\right ) \operatorname {csgn}\left (i c \,x^{n}\right )^{2}}{14}+x^{3} a \,d^{2} e +\frac {3 x^{5} a d \,e^{2}}{5}+a \,d^{3} x +\frac {\ln \left (c \right ) b \,e^{3} x^{7}}{7}-\frac {i \pi b \,d^{2} e \,x^{3} \operatorname {csgn}\left (i c \,x^{n}\right )^{3}}{2}-\frac {i \pi b \,d^{3} \operatorname {csgn}\left (i c \,x^{n}\right )^{3} x}{2}-\frac {3 i \pi b d \,e^{2} x^{5} \operatorname {csgn}\left (i c \,x^{n}\right )^{3}}{10}+\frac {i \pi b \,d^{3} \operatorname {csgn}\left (i x^{n}\right ) \operatorname {csgn}\left (i c \,x^{n}\right )^{2} x}{2}-\frac {3 i \pi b d \,e^{2} x^{5} \operatorname {csgn}\left (i c \right ) \operatorname {csgn}\left (i x^{n}\right ) \operatorname {csgn}\left (i c \,x^{n}\right )}{10}-\frac {i \pi b \,d^{3} \operatorname {csgn}\left (i c \right ) \operatorname {csgn}\left (i x^{n}\right ) \operatorname {csgn}\left (i c \,x^{n}\right ) x}{2}-\frac {i \pi b \,e^{3} x^{7} \operatorname {csgn}\left (i c \,x^{n}\right )^{3}}{14}+\frac {i \pi b \,d^{2} e \,x^{3} \operatorname {csgn}\left (i c \right ) \operatorname {csgn}\left (i c \,x^{n}\right )^{2}}{2}+\frac {b x \left (5 e^{3} x^{6}+21 e^{2} d \,x^{4}+35 d^{2} e \,x^{2}+35 d^{3}\right ) \ln \left (x^{n}\right )}{35}+\frac {i \pi b \,d^{3} \operatorname {csgn}\left (i c \right ) \operatorname {csgn}\left (i c \,x^{n}\right )^{2} x}{2}+\frac {i \pi b \,d^{2} e \,x^{3} \operatorname {csgn}\left (i x^{n}\right ) \operatorname {csgn}\left (i c \,x^{n}\right )^{2}}{2}+\frac {3 i \pi b d \,e^{2} x^{5} \operatorname {csgn}\left (i c \right ) \operatorname {csgn}\left (i c \,x^{n}\right )^{2}}{10}+\frac {3 i \pi b d \,e^{2} x^{5} \operatorname {csgn}\left (i x^{n}\right ) \operatorname {csgn}\left (i c \,x^{n}\right )^{2}}{10}+\ln \left (c \right ) b \,d^{3} x -b \,d^{3} n x -\frac {3 b d \,e^{2} n \,x^{5}}{25}-\frac {b \,d^{2} e n \,x^{3}}{3}-\frac {b \,e^{3} n \,x^{7}}{49}+\frac {3 \ln \left (c \right ) b d \,e^{2} x^{5}}{5}-\frac {i \pi b \,e^{3} x^{7} \operatorname {csgn}\left (i c \right ) \operatorname {csgn}\left (i x^{n}\right ) \operatorname {csgn}\left (i c \,x^{n}\right )}{14}\) | \(582\) |
1/7*x^7*ln(c*x^n)*b*e^3-1/49*b*e^3*n*x^7+1/7*a*e^3*x^7+3/5*x^5*b*ln(c*x^n) *d*e^2-3/25*b*d*e^2*n*x^5+3/5*x^5*a*d*e^2+x^3*b*ln(c*x^n)*d^2*e-1/3*b*d^2* e*n*x^3+x^3*a*d^2*e+x*b*ln(c*x^n)*d^3-b*d^3*n*x+a*d^3*x
Time = 0.29 (sec) , antiderivative size = 161, normalized size of antiderivative = 1.33 \[ \int \left (d+e x^2\right )^3 \left (a+b \log \left (c x^n\right )\right ) \, dx=-\frac {1}{49} \, {\left (b e^{3} n - 7 \, a e^{3}\right )} x^{7} - \frac {3}{25} \, {\left (b d e^{2} n - 5 \, a d e^{2}\right )} x^{5} - \frac {1}{3} \, {\left (b d^{2} e n - 3 \, a d^{2} e\right )} x^{3} - {\left (b d^{3} n - a d^{3}\right )} x + \frac {1}{35} \, {\left (5 \, b e^{3} x^{7} + 21 \, b d e^{2} x^{5} + 35 \, b d^{2} e x^{3} + 35 \, b d^{3} x\right )} \log \left (c\right ) + \frac {1}{35} \, {\left (5 \, b e^{3} n x^{7} + 21 \, b d e^{2} n x^{5} + 35 \, b d^{2} e n x^{3} + 35 \, b d^{3} n x\right )} \log \left (x\right ) \]
-1/49*(b*e^3*n - 7*a*e^3)*x^7 - 3/25*(b*d*e^2*n - 5*a*d*e^2)*x^5 - 1/3*(b* d^2*e*n - 3*a*d^2*e)*x^3 - (b*d^3*n - a*d^3)*x + 1/35*(5*b*e^3*x^7 + 21*b* d*e^2*x^5 + 35*b*d^2*e*x^3 + 35*b*d^3*x)*log(c) + 1/35*(5*b*e^3*n*x^7 + 21 *b*d*e^2*n*x^5 + 35*b*d^2*e*n*x^3 + 35*b*d^3*n*x)*log(x)
Time = 0.68 (sec) , antiderivative size = 156, normalized size of antiderivative = 1.29 \[ \int \left (d+e x^2\right )^3 \left (a+b \log \left (c x^n\right )\right ) \, dx=a d^{3} x + a d^{2} e x^{3} + \frac {3 a d e^{2} x^{5}}{5} + \frac {a e^{3} x^{7}}{7} - b d^{3} n x + b d^{3} x \log {\left (c x^{n} \right )} - \frac {b d^{2} e n x^{3}}{3} + b d^{2} e x^{3} \log {\left (c x^{n} \right )} - \frac {3 b d e^{2} n x^{5}}{25} + \frac {3 b d e^{2} x^{5} \log {\left (c x^{n} \right )}}{5} - \frac {b e^{3} n x^{7}}{49} + \frac {b e^{3} x^{7} \log {\left (c x^{n} \right )}}{7} \]
a*d**3*x + a*d**2*e*x**3 + 3*a*d*e**2*x**5/5 + a*e**3*x**7/7 - b*d**3*n*x + b*d**3*x*log(c*x**n) - b*d**2*e*n*x**3/3 + b*d**2*e*x**3*log(c*x**n) - 3 *b*d*e**2*n*x**5/25 + 3*b*d*e**2*x**5*log(c*x**n)/5 - b*e**3*n*x**7/49 + b *e**3*x**7*log(c*x**n)/7
Time = 0.20 (sec) , antiderivative size = 133, normalized size of antiderivative = 1.10 \[ \int \left (d+e x^2\right )^3 \left (a+b \log \left (c x^n\right )\right ) \, dx=-\frac {1}{49} \, b e^{3} n x^{7} + \frac {1}{7} \, b e^{3} x^{7} \log \left (c x^{n}\right ) + \frac {1}{7} \, a e^{3} x^{7} - \frac {3}{25} \, b d e^{2} n x^{5} + \frac {3}{5} \, b d e^{2} x^{5} \log \left (c x^{n}\right ) + \frac {3}{5} \, a d e^{2} x^{5} - \frac {1}{3} \, b d^{2} e n x^{3} + b d^{2} e x^{3} \log \left (c x^{n}\right ) + a d^{2} e x^{3} - b d^{3} n x + b d^{3} x \log \left (c x^{n}\right ) + a d^{3} x \]
-1/49*b*e^3*n*x^7 + 1/7*b*e^3*x^7*log(c*x^n) + 1/7*a*e^3*x^7 - 3/25*b*d*e^ 2*n*x^5 + 3/5*b*d*e^2*x^5*log(c*x^n) + 3/5*a*d*e^2*x^5 - 1/3*b*d^2*e*n*x^3 + b*d^2*e*x^3*log(c*x^n) + a*d^2*e*x^3 - b*d^3*n*x + b*d^3*x*log(c*x^n) + a*d^3*x
Time = 0.32 (sec) , antiderivative size = 163, normalized size of antiderivative = 1.35 \[ \int \left (d+e x^2\right )^3 \left (a+b \log \left (c x^n\right )\right ) \, dx=\frac {1}{7} \, b e^{3} n x^{7} \log \left (x\right ) - \frac {1}{49} \, b e^{3} n x^{7} + \frac {1}{7} \, b e^{3} x^{7} \log \left (c\right ) + \frac {1}{7} \, a e^{3} x^{7} + \frac {3}{5} \, b d e^{2} n x^{5} \log \left (x\right ) - \frac {3}{25} \, b d e^{2} n x^{5} + \frac {3}{5} \, b d e^{2} x^{5} \log \left (c\right ) + \frac {3}{5} \, a d e^{2} x^{5} + b d^{2} e n x^{3} \log \left (x\right ) - \frac {1}{3} \, b d^{2} e n x^{3} + b d^{2} e x^{3} \log \left (c\right ) + a d^{2} e x^{3} + b d^{3} n x \log \left (x\right ) - b d^{3} n x + b d^{3} x \log \left (c\right ) + a d^{3} x \]
1/7*b*e^3*n*x^7*log(x) - 1/49*b*e^3*n*x^7 + 1/7*b*e^3*x^7*log(c) + 1/7*a*e ^3*x^7 + 3/5*b*d*e^2*n*x^5*log(x) - 3/25*b*d*e^2*n*x^5 + 3/5*b*d*e^2*x^5*l og(c) + 3/5*a*d*e^2*x^5 + b*d^2*e*n*x^3*log(x) - 1/3*b*d^2*e*n*x^3 + b*d^2 *e*x^3*log(c) + a*d^2*e*x^3 + b*d^3*n*x*log(x) - b*d^3*n*x + b*d^3*x*log(c ) + a*d^3*x
Time = 0.34 (sec) , antiderivative size = 104, normalized size of antiderivative = 0.86 \[ \int \left (d+e x^2\right )^3 \left (a+b \log \left (c x^n\right )\right ) \, dx=\ln \left (c\,x^n\right )\,\left (b\,d^3\,x+b\,d^2\,e\,x^3+\frac {3\,b\,d\,e^2\,x^5}{5}+\frac {b\,e^3\,x^7}{7}\right )+\frac {e^3\,x^7\,\left (7\,a-b\,n\right )}{49}+d^3\,x\,\left (a-b\,n\right )+\frac {d^2\,e\,x^3\,\left (3\,a-b\,n\right )}{3}+\frac {3\,d\,e^2\,x^5\,\left (5\,a-b\,n\right )}{25} \]